package com.ruoyi.course.service;

import java.util.List;
import com.ruoyi.course.domain.CdCourseTeacher;

/**
 * 课程-教师关联Service接口
 * 
 * @author ruoyi
 * @date 2023-12-18
 */
public interface ICdCourseTeacherService 
{
    /**
     * 查询课程-教师关联
     * 
     * @param teacherId 课程-教师关联主键
     * @return 课程-教师关联
     */
    public CdCourseTeacher selectCdCourseTeacherByTeacherIdAndCourseId(Long teacherId, Long courseId);

    /**
     * 查询课程-教师关联列表
     * 
     * @param cdCourseTeacher 课程-教师关联
     * @return 课程-教师关联集合
     */
    public List<CdCourseTeacher> selectCdCourseTeacherList(CdCourseTeacher cdCourseTeacher);

    /**
     * 新增课程-教师关联
     * 
     * @param cdCourseTeacher 课程-教师关联
     * @return 结果
     */
    public int insertCdCourseTeacher(CdCourseTeacher cdCourseTeacher);

    /**
     * 修改课程-教师关联
     * 
     * @param cdCourseTeacher 课程-教师关联
     * @return 结果
     */
    public int updateCdCourseTeacher(CdCourseTeacher cdCourseTeacher);

    /**
     * 批量删除课程-教师关联
     * 
     * @param teacherIds 需要删除的课程-教师关联主键集合
     * @return 结果
     */
    public int deleteCdCourseTeacherByTeacherIds(Long[] teacherIds);

    /**
     * 删除课程-教师关联信息
     * 
     * @param teacherId 课程-教师关联主键
     * @return 结果
     */
    public int deleteCdCourseTeacherByTeacherId(Long teacherId);

    /**
     * 查询教师指导的课程
     * @return
     */
    public List<CdCourseTeacher> listBySelf();
}
